Operations:

Format

Syntax:

Operation:

Operands:

Architecture revision

Opcode

1

rsub{cond4} Rd, imm

if ( cond4)
Rd = SE(imm8) - Rd;
d ∈ {0, 1, …, 15}
cond4 ∈ {eq, ne, cc/hs, cs/lo, ge, lt, mi, pl, ls, gt, le, hi, vs, vc, qs, al}
imm ∈ {-128, -127, ..., 127}

Rev2+

111110111011

Rd

0000

cond4

imm8

12

4

4

4

8

Description

Performs a subtraction and stores the result in destination register. Similar to sub, but the minu- end and subtrahend are interchanged.

Status Flags:

Q:

Not affected.

V:

Not affected.

N:

Not affected.

Z:

Not affected.

C:

Not affected.